package cn.tedu.hospitalgroupproject.server.content.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_clinic")
public class Clinic implements Serializable {


    /**
     * 诊所id
     * */
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String type;

    private Long departmentId;
    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
